package com.hr.hrto.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hr.hrto.domain.Dish;
import com.hr.hrto.dto.DishDto;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 黄瑞
 * @Date: 2022/07/07/13:29
 * @Description:
 * @version:1.0
 */
public interface DishService extends IService<Dish> {
    //新增菜品对应的口味数据，操作dish和flavor
    public void saveWithFlavor(DishDto dishDto);
    public DishDto getByIdWithFlavor(Long id);//根据id查询对应菜品信息
    public void updteWithFlavor(DishDto dishDto);
    public void removeWithStatus(List<Long> ids);
}
